package com.sicau.basedemo.entity.param.news;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author ttxxi
 * @description:  修改新闻稿对象模型
 * @create: 2021-04-28
 **/
@Data
@ApiModel(description = "修改新闻稿对象模型")
public class NewsUpdateParam {

    @NotNull
    @ApiModelProperty(value = "新闻稿id")
    private Integer id;

    @ApiModelProperty(value = "封面")
    private String cover;

    @ApiModelProperty(value = "新闻稿标题")
    private String title;

    @ApiModelProperty(value = "新闻稿内容")
    private String content;


}
